
<template>
  <div class="concernList">
    <div class="one">
      <div class="img">
        <img
          src="http://120.53.31.103:84/uploads/image/2021-06-27/iwJMzyDRE8JaruzpKsApVPuMNhRyYjen8SYaqjgg.png"
          alt=""
        />
      </div>
      <div class="one1">
        <p class="title">谢文</p>
        <p style="font-size: 12px;color:#777777;margin: 12px 0;">全栈</p>
      </div>
      <div class="two">
        <button v-show="flag == 2" @click="quxiao">关注</button>
        <button v-show="flag == 0 || flag == 1" @click="quxiao">
          取消关注
        </button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  components: {},
  data() {
    return {
        flag:0
    };
  },
  created() {},
  mounted() {},
  methods: {
    quxiao(){}
  },
};
</script>
<style scoped lang='scss'>
.concernList {
  width: 100%;
  .one {
    width: 720px;
    height: 113px;
    box-sizing: border-box;
    background-color: #fff;
    padding: 7px 14px;
    margin-bottom: 21px;
    margin-left: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .one1{
        margin-left: 21px;
        width: 536px;
        font-size: 21px;
        .title{
            margin: 21px 0;
        }
    }
    .two{
       button {
        width: 90px;
        height: 40px;
        border: none;
       background: #fdefe5;
        color: #eb6100;
        text-align: center;
        font-size: 12px;
        line-height: 40px;
        border-radius: 20px;
      }

     }
  }
}
</style>
